const express = require('express');
const app = express()
const fs = require('fs');

app.use(express.static('public'));
app.use((req,res)=>{
    // console.log('111');
    const stat = fs.statSync('./a.txt')
    console.log(stat);
    // if(req.headers)
})

app.listen(3001);